﻿using System;
using System.Collections.Generic;

namespace YArchitech.Plumbing
{
	public class HYSprayNode
	{
		public int CalculateNum { get; set; }

		public double Pressure { get; set; }

		public double FLow { get; set; }

		public bool IsFixedPressure { get; set; }

		public bool IsCalculated { get; set; }

		public bool IsStart { get; set; }

		public double PathLength { get; set; }

		public HYSprayNode()
		{
			this.CalculateNum = -1;
			this.Pressure = 0.0;
			this.FLow = 0.0;
			this.PathLength = 0.0;
			this.IsFixedPressure = false;
			this.IsCalculated = false;
			this.IsStart = false;
		}

		public List<HYPipeCal> InPipes = new List<HYPipeCal>();

		public List<HYPipeCal> OutPipes = new List<HYPipeCal>();

		public HYSprinklerCal sprinkler;
	}
}
